Skip to main content

Interface: AudioStats

Data structure for the audio statistics while processing

Properties

clipping

clipping: boolean

Indicating the audio is clipping when it is set to true


lowVolume

lowVolume: boolean

Indicating the audio is low volume when it is set to true


maxClipCount

maxClipCount: number

Maximum Clip count


maxRms

maxRms: number

Maximum running RMS value


mono

Optional mono: boolean

Indicating the audio is mono when it is set to true

undefined means cannot-not-tell.


peak

peak: number

Peak gain value


rms

rms: number

Global rms


silent

silent: boolean

Indicating the audio is silent when it is set to true


sumLength

sumLength: number

Value of sum number of sample used for RMS calculation


sumSquare

sumSquare: number

Value of sum squared sample used for RMS calculation